﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;

namespace LotteCinema.Admin
{
    public partial class QuanLyVe : System.Web.UI.Page
    {
        static DataTable dt = new DataTable();
        BUS.BQuanLyVe bqlv = new BUS.BQuanLyVe();
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
                grdVe.DataSource = bqlv.QUANLYVE_LietKe();
                grdVe.DataBind();
            }
        }

        protected void btTKtheongay_Click1(object sender, EventArgs e)
        {
            grdVe.DataSource = bqlv.QUANLYVE_LietKeTheoNgay(txtngay.Text);
            grdVe.DataBind();
        }
    }
}